package com.devunion.salon.persistence.dao;

import com.devunion.salon.persistence.Payment;

import java.io.Serializable;

/**
 * @author Viktar Liaskovich
 */
public class PaymentDao extends BaseDaoObject<Payment>{
    public Payment getByKey(Serializable key) {
        return (Payment) getHibernateTemplate().get(Payment.class, key);
    }
}
